def falling(n, k):
    "*** YOUR CODE HERE ***"
    ans=1
    while k>0:
        ans*=n
        n-=1
        k-=1
    return ans


def divisible_by_k(n, k):
    
    "*** YOUR CODE HERE ***"
    sum=0
    for i in range(1,n+1):
        if i%k==0:
            print(i)
            sum+=1
    return sum


def sum_digits(y):
    "*** YOUR CODE HERE ***"
    sum=0
    while y>0:
        sum+=y%10
        y//=10
    return sum


def double_eights(n):
    "*** YOUR CODE HERE ***"
    flag=False
    while n>0:
        if n%100==88:
            flag=True
            break
        n//=10
    return flag

